package com.frxuexi.lib_base.entity

import androidx.room.Entity
import androidx.room.PrimaryKey


class CommentBean : ArrayList<CommentBeanItem>()

data class CommentBeanItem(
    val agreenum: Int,
    val content: String,
    val createtime: String,
    val datatype: Int,
    @PrimaryKey
    val id: Int?=null,
    val itemid: String,
    val nickname: String,
    val replyList: List<Any>,
    val replytotal: Int,
    val userid: Int,
    val userlogo: String
)
@Entity(tableName = "comment")
data class Comment(
    val agreenum: Int,
    val content: String,
    val createtime: String,
    val datatype: Int,
    @PrimaryKey
    val id: Long?=null,
    val itemid: String,
    val nickname: String,
    val replytotal: Int,
    val userid: Int,
    val userlogo: String,
    var isZan:Boolean,
    var zanNum:Int,
)